﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ThuVien;
using System.Data;


namespace TranTekBE.KPI_NhanSu
{
    public partial class Xu_Ly_Yeu_Cau_Chuyen_Ca : PagePopUp
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            //Load JS
            ScriptManager.RegisterStartupScript(this.Page, typeof(Page), "LoadJS", "LoadJS();", true);
            string get_IDuser = FunctionsUtils.GetValueStringFromQueryString("IDusername", "0");
            string sql_update_status_chuyen_ca = @" UPDATE tbl_YeuCauChuyenCa
                SET
                TRANG_THAI = N'Đã xử lý'
                WHERE ID_GUI_YEU_CAU_CHUYEN_CA='" + get_IDuser + @"'
                ";
            FunctionsUtils.Database2.ExecuteNonQuery(sql_update_status_chuyen_ca);
            //Close popup chuyển trang
            ClosePopupRedirectParent("Lich-Lam-Viec-Nhan-Vien.aspx");
        }

    }
}